home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-14 | 1.2 KB | 48 lines | [TEXT/MPS ] |
- # File: kaboom.make
- # Target: kaboom
- # Sources: kaboom.a kaboom.c kaboom.r
- # Created: Monday, Feb. 1, 1993 4:10:00 PM
- #
- # Makefile for a simple printing extension.
- #
- # Dave Hersey
- # Apple Developer Technical Support
- #
- # 2/01/93 - dmh - Created.
- # 9/07/93 - dmh - Updated for b2.
- # 12/18/93 - dmh - Updated for b3.
- # 8/24/94 - dmh - Finalized.
- # 6/14/96 - cn - Updated to support MPW Pro #19.
- #
-
- # Alias to the path for the GX interface files.
-
- INTPATH = "{CIncludes}"
-
- # Alias to the compiled files and the assembly/C options we
- # want to use.
-
- OBJECTS = kaboom.a.o kaboom.c.o
- AsmOptions = -sym full -i {INTPATH} -case obj
- CompileOptions = -sym full -d applec -mbg full -b2 -i {INTPATH}
-
-
- kaboom.a.o ƒ kaboom.make kaboom.a
- Asm {AsmOptions} kaboom.a
- kaboom.c.o ƒ kaboom.make kaboom.c
- SC {CompileOptions} -r kaboom.c
-
- kaboom ƒƒ kaboom.make kaboom.r {OBJECTS}
- Link -ra =resSysHeap,resPurgeable ∂
- -t 'pext' ∂
- -c 'Kabm' ∂
- -rt pext=0 ∂
- -sg SEGS ∂
- -m EntryPoint ∂
- {OBJECTS} ∂
- "{Libraries}Interface.o" ∂
- "{Libraries}MacRuntime.o" ∂
- -o kaboom;
- SetFile kaboom -a iB;
- Rez -i {INTPATH} -rd -o kaboom kaboom.r -append
-